projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2763180
)
[XM] Fix rmlabel filename assignment
author
Alastair Tse
<atse@xensource.com>
Tue, 3 Oct 2006 10:24:48 +0000
(11:24 +0100)
committer
Alastair Tse
<atse@xensource.com>
Tue, 3 Oct 2006 10:24:48 +0000
(11:24 +0100)
The patch fixes a bug in the rmlabel tool.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/python/xen/xm/rmlabel.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xm/rmlabel.py
b/tools/python/xen/xm/rmlabel.py
index 6a29a8c20e5a35c3a4bf9e57d30393f084602fca..0869c6c874a0cf1e36e87e32188c307f6938e6fc 100644
(file)
--- a/
tools/python/xen/xm/rmlabel.py
+++ b/
tools/python/xen/xm/rmlabel.py
@@
-60,7
+60,8
@@
def rm_domain_label(configfile):
fd = None
file = None
if configfile[0] == '/':
- fd = open(configfile, "rb")
+ file = configfile
+ fd = open(file, "rb")
else:
for prefix in [".", "/etc/xen"]:
file = prefix + "/" + configfile